<script type="text/template">
    <% 
        var iconClass = "";
        if(result.number==0){
            iconClass="gray";
            result.number="没点噢";
        }else{
            iconClass="yellow";
        }
    %>
    <div class="topDetails displayNone">
        
    </div>
    <div class="bottomDetails">
        <span class="<%= iconClass %> bottomDetailsNumber"><%= result.number %></span>
        <span class="bottomDetailsSum">¥<%= result.sum %></span>
        <span class="bottomDetailsSendMoney">另需配送费¥<%= result.sendMoney %></span>
        <span class="bottomDetailsText"><%= result.text %></span>
    </div>
</script>